package com.marvels.dubbo.umservice.service.impl;

import com.fintech.user.entity.RealNameAuthentication;
import com.fintech.user.service.RealNameAuthenticationService;
import com.marvels.common.utils.MarvelsLogUtil;
import com.marvels.dubbo.umservice.service.RealNameAuthentyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RealNameAuthenticationImpl implements RealNameAuthentyService{

	@Autowired
	private  RealNameAuthenticationService realNameAuthenticationService;
	@Override
	public RealNameAuthentication querByIdentiyCardNo(String custIdCard) {
		return  realNameAuthenticationService.querByIdentiyCardNo(custIdCard);
	}
	@Override
	public RealNameAuthentication queryByUserId(Integer userId) {
		MarvelsLogUtil.getInstance().info(realNameAuthenticationService == null ? "empty" : "not empty");
		return realNameAuthenticationService.queryByUserId(userId);
	}

}
